
/// SKELMESHANIM source code
/// by Alvaro Cuno, LCG-COPPE-UFRJ
/// bugs? email-me: alvaroecp@gmail.com
/// November, 2007

#ifndef __MOTION_H__
#define __MOTION_H__

#include "../typedefs.h"

#include <vector>
#include <fstream>
#include <cassert>

using namespace std;

class Motion {
   
public:
   /// Constructors
   Motion() { }
   
   Motion(const char* filename);
   
   static Motion *load(const char* filename);
   
   unsigned size() { return displacements.size(); }
   
public:
   
   vector<vector<Vector3> >   displacements; //< a list of displacements
};

#endif
